(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/iffparse.h>
LONG CollectionChunk()
SYNOPSIS
struct IFFHandle * iff
LONG type
LONG id

LOCATION
In IFFParseBase at offset 23
FUNCTION
Installs an entry handler with the given type and id, so that chunks encountered with the same type and id will be stored. This is quite like PropChunk(), but CollectionChunk() will store the contents of multiple chunks with the same type and id. To retrieve the stored collection of chunks one uses FindCollection(). Remember: the collection is only valid inside the current property scope.

INPUTS
iff
Pointer to IFFHandle struct. (does not need to be open).
type
IFF chunk type declarator for chunk to collect.
id
IFF chunk id identifier for chunk to collect.
RESULT
error - 0 if successfulle. IFFERR_#? elsewise.

NOTES
EXAMPLE
BUGS
SEE ALSO
CollectionChunks(), FindCollection, PropChunk
INTERNALS
HISTORY
03.02.1997 digulla
Some major hacks because we don't have A6 - The IFFParseBase must be passed to the hooks in hook->h_Data.
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen